package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Shoppingtrolley;
import org.hxyjs.entity.Shoppingtrolley;
import org.hxyjs.entity.ShoppingtrolleyExample;

public interface ShoppingtrolleyMapper {
    long countByExample(ShoppingtrolleyExample example);

    int deleteByExample(ShoppingtrolleyExample example);

    int deleteByPrimaryKey(String stno);

    int insert(Shoppingtrolley record);

    int insertSelective(Shoppingtrolley record);

    List<Shoppingtrolley> getShoppingtrolleyByPage(Map map);

    String getMaxStno();

    List<Shoppingtrolley> selectByExample(ShoppingtrolleyExample example);

    Shoppingtrolley selectByPrimaryKey(String stno);

    int updateByExampleSelective(@Param("record") Shoppingtrolley record, @Param("example") ShoppingtrolleyExample example);

    int updateByExample(@Param("record") Shoppingtrolley record, @Param("example") ShoppingtrolleyExample example);

    int updateByPrimaryKeySelective(Shoppingtrolley record);

    int updateByPrimaryKey(Shoppingtrolley record);
}